package design.createModel.factory.simpleFactory.demo2;

public class CoffeeStore {

    public Coffee orderCoffee(String name){
        SimpleCoffeeFactory factory = new SimpleCoffeeFactory();
        Coffee coffee = factory.createCoffee(name);
        coffee.addMilk();
        coffee.addSugar();
        return coffee;
    }

}
